//
//  GMArtwork.h
//  gentleman
//
//  Created by 范月成 on 2017/12/5.
//  Copyright © 2017年 fancy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GYDataCenter.h"

/*
 "archiver_key" = "420128--ca2c4f428a15ddf8283539256400272e3f9b4a69";
 category = Western;
 expunged = 0;
 filecount = 35;
 filesize = 11223033;
 gid = 1151167;
 posted = 1512446219;
 rating = "4.50";
 tags =     (
 english,
 furry,
 muscle,
 "shark boy",
 yaoi,
 "full color"
 );
 thumb = "https://ehgt.org/7c/ff/7cff736db0446a6e6f307bc81bd062703bdda1e9-348891-1088-1280-jpg_l.jpg";
 title = "[AZcabungcal101] One night with her boyfriend";
 "title_jpn" = "";
 token = f976d92def;
 torrentcount = 0;
 uploader = galofre;
 */

@interface GMArtwork : GYModelObject

@property (nonatomic, copy) NSString *url;

@property (nonatomic, copy) NSString *archiver_key;
@property (nonatomic, copy) NSString *category;              //分类
@property (nonatomic, assign) BOOL expunged;
@property (nonatomic, assign) NSInteger filecount;           //文件数
@property (nonatomic, assign) unsigned long long filesize;   //文件大小
@property (nonatomic, assign) NSInteger gid;
@property (nonatomic, assign) NSTimeInterval posted;         //上传时间
@property (nonatomic, assign) CGFloat rating;                //评分
@property (nonatomic, copy) NSArray *tags;                   //tag数组
@property (nonatomic, copy) NSString *thumb;                 //封面
@property (nonatomic, copy) NSString *title;                 //标题
@property (nonatomic, copy) NSString *title_jpn;             //日语标题
@property (nonatomic, copy) NSString *uploader;              //上传人
@property (nonatomic, assign) NSInteger torrentcount;        //种子数
@property (nonatomic, copy) NSString *token;

@property (nonatomic, assign) BOOL isDownload;
@property (nonatomic, assign) BOOL isLike; 
@property (nonatomic, strong) UIColor *categoryColor;//分类颜色
@property (nonatomic, copy) NSString *language;//语言

- (NSString *)getArtworkLanguage;

@end
